//
//  CancelReason.h
//  YaoHeAPP
//
//  Created by mac on 15/12/21.
//  Copyright © 2015年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CancelReason : UIView<UITableViewDataSource,UITableViewDelegate,UIGestureRecognizerDelegate,UITextFieldDelegate>
{
    UITableView*_tabelView;
    UIView *_bgView;
    NSString*_stringRow;//将选中字符串拼接成完整的一个字
    
    UIImageView*selectImg;//选择的图片
    UILabel*messageL;//显示原因的label
    
    NSMutableArray*_dataArray;//显示原因的数组
    
    NSInteger indexRow;//选中的哪一行
    UITextField*otherTxt;
    BOOL  hiddenYN;
    NSString*_oderID;
}
@property (nonatomic, strong) void(^SelectBlock)(NSString *selectIndexStr);

@property (nonatomic, strong) NSString *titleStr;

@property(nonatomic,copy)NSString *idStr;//求购商品ID

@property(nonatomic,assign)NSInteger rowTeger;

//大小
- (id)initWithFrame:(CGRect)frame;
//展示选择器
+(void)showPickerView:(UIView *)selfView withTitle:(NSString*)titleString oderID:(NSString*)oID andSelectBlock:(void (^)(NSString *))selectRow;



@end

@interface TextValue : NSObject
@property(nonatomic,copy)NSString*textMsg;
@property(nonatomic,copy)NSString*vaule;
-(id)initWithDic:(NSDictionary*)dict;
@end






